﻿using System.Collections.Generic;

namespace PgBirdie.Core.Config
{
    public class ConfigTable
    {
        private IList<string> _excludeStaticDataColumnNames = new List<string>();

        public ConfigSchema Schema { get; set; }
        public string Name { get; set; }
        public bool WithData { get; set; }

        /// <summary>
        /// Static data columns defined in this list will not be part of data (INSERT / UPDATE) operations.
        /// </summary>
        public IList<string> ExcludeStaticDataColumnNames
        {
            get { return _excludeStaticDataColumnNames; }
            set { _excludeStaticDataColumnNames = value; }
        }
    }
}